package com.zmn.oms.services.interfaces.chan;

import com.zmn.oms.model.dto.chan.OrderClueDetailListQuery;
import com.zmn.oms.model.entity.chan.OrderClueDetail;

import java.util.List;

/**
 * 类描述：
 *
 * @author lhl
 * @date 2020-11-26 21:33:25
 */
public interface OrderClueDetailService {

    /**
     * 使用主键查询
     * @param key
     * @return
     */
    OrderClueDetail findByKey(Long key);

    /**
     * 条件查询
     * @param query
     * @return
     */
    List<OrderClueDetail> listOrderClueDetails(OrderClueDetailListQuery query);

    /**
     * 新增
     * @param orderClueDetail
     * @return
     */
    int save(OrderClueDetail orderClueDetail);

    /**
     * 通过主键修改
     * @param orderClueDetail
     * @return
     */
    int updateByKey(OrderClueDetail orderClueDetail);


}
